﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.ComputeBufferMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using UnityEngine.Bindings;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Intended usage of the buffer.</para>
  /// </summary>
  [NativeType("Runtime/GfxDevice/GfxDeviceTypes.h")]
  public enum ComputeBufferMode
  {
    /// <summary>
    ///   <para>Static buffer, only initial upload allowed by the CPU</para>
    /// </summary>
    Immutable,
    /// <summary>
    ///   <para>Dynamic buffer.</para>
    /// </summary>
    Dynamic,
    /// <summary>
    ///   <para>Legacy mode, do not use.</para>
    /// </summary>
    [Obsolete("ComputeBufferMode.Circular is deprecated (legacy mode)")] Circular,
    /// <summary>
    ///   <para>Stream Out / Transform Feedback output buffer. Internal use only.</para>
    /// </summary>
    [Obsolete("ComputeBufferMode.StreamOut is deprecated (internal use only)")] StreamOut,
    /// <summary>
    ///   <para>Dynamic, unsynchronized access to the buffer.</para>
    /// </summary>
    SubUpdates,
  }
}
